]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js: Replace Tweener time leftovers with ease duration
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 10 Oct 2019 00:14:28 +0000 (02:14 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 10 Oct 2019 00:14:28 +0000 (02:14 +0200)
In some places we were not properly animating the actors as still using the
non-existent 'time' property instead of 'duration'

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/758

js/ui/appDisplay.js
js/ui/dash.js
js/ui/lookingGlass.js

index 9147d4c02c679259c5a97110e9bc3871b7413757..cc946f01c7d5d6cf14806cd9b643096b7dda1fc9 100644 (file)
@@ -2233,7 +2233,7 @@ var AppIcon = class AppIcon {
         this.actor.ease({
             scale_x: 1,
             scale_y: 1,
-            time: APP_ICON_SCALE_IN_TIME,
+            duration: APP_ICON_SCALE_IN_TIME,
             delay: APP_ICON_SCALE_IN_DELAY,
             mode: Clutter.AnimationMode.EASE_OUT_QUINT
         });
index 5751afee05dad38b70555148071413421ce4d134..0f99b9c88aa96fbb0b633e3dd9131167a2f685ae 100644 (file)
@@ -623,7 +623,7 @@ var Dash = class Dash {
             icon.icon.ease({
                 width: targetWidth,
                 height: targetHeight,
-                time: DASH_ANIMATION_TIME,
+                duration: DASH_ANIMATION_TIME,
                 mode: Clutter.AnimationMode.EASE_OUT_QUAD
             });
         }
index e2bb8cc27853a87122f13edc6c4d4d3b4fed8c9d..35b47b0360a867efaba0809303ad8232490fdf36 100644 (file)
@@ -428,7 +428,7 @@ var ObjInspector = class ObjInspector {
                 scale_x: 1,
                 scale_y: 1,
                 mode: Clutter.AnimationMode.EASE_OUT_QUAD,
-                time: 200
+                duration: 200
             });
         } else {
             this.actor.set_scale(1, 1);